Skip to content

HFP-3901 Add missing fileIcon definition#76

Merged
devland merged 1 commit intoh5p:masterfrom
otacke:fix-missing-file-icon
Apr 22, 2024
Merged

HFP-3901 Add missing fileIcon definition#76
devland merged 1 commit intoh5p:masterfrom
otacke:fix-missing-file-icon

Conversation

@otacke
Copy link
Contributor

@otacke otacke commented Mar 22, 2024

When merged in, will add the fileIcon definition that the H5PEditor core expects.

Currently, the H5PIntegration setup for the H5PEditor core expects a default fileIcon to be set that the file widget uses for binary files. The editor will crash if a binary file is uploaded without it.

I'd technically expect h5p/h5p-editor-php-library#209 this to be the fix, in particular as no H5P integration so far provides a custom icon but always uses the default found in H5P core. But nothing seems to ever happen (those tiny non-brainer pull-requests were simply handled and merged back in the days), I am getting annoyed by all the quirks I have to live with here, so maybe on this repo the success rate of being recognized is higher.

@otacke otacke changed the title Add mission fileIcon definition HFP-3901 Add mission fileIcon definition Mar 22, 2024
@otacke otacke changed the title HFP-3901 Add mission fileIcon definition HFP-3901 Add missing fileIcon definition Mar 25, 2024
@devland devland merged commit cd742e8 into h5p:master Apr 22, 2024
@otacke otacke deleted the fix-missing-file-icon branch April 22, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants